#
# Copyright 2009 Jeffrey Palm
#

require 'has_options'

# Exits with the exit code from the command_line's real_main method
class Main

  attr_reader :command_line

  def initialize(command_line)
    @command_line = command_line
  end

  def main(argv)
    exit @command_line.real_main(argv)
  end

end
